package com.chcit.share.admin.controller;

import com.chcit.share.admin.model.SysUser;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Auther: liuyang
 * @Date: 2019/4/24 07:02
 * @Description:
 */
@RestController
public class MediaTypeController {
    /**
     * 媒体类型 测试
     * @param user
     * @return
     */
    @PostMapping(value = "/echo/user" ,produces = "application/json;charset=UTF-8")
    public SysUser user(@RequestBody SysUser user){
        return user;
    }
}
